package com.starview.star.compiler.format.rules;

import com.starview.platform.data.type.Location;
import com.starview.star.compiler.ast.IAbstract;
import com.starview.star.compiler.util.PrettyPrintable;



/**
 * A format pattern operator
 * 
 * @author fgm
 * 
 */
public interface FmtPtnOp extends PrettyPrintable
{
  enum formatCode
  {
    applies, notApply
  };

  int getSpecificity();

  formatCode apply(IAbstract term, IAbstract env[], Location loc);
}
